# 入口

from shopee.utils import timer
from shopee.core import *


def run():
    _timer = timer(60 * 60 * 4)
    # _timer = timer(1 * 60 * 1)

    login()  # 登录

    while True:
        if _timer():
            extension()  # 定时推广

        sell()  # 售卖
